package cn.lyh.myiot.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author lyh
 * @version 1.0
 * @date 2020/8/15
 */
@Data
@TableName(value = "wenshidu_table")
public class WenshiduTable {
    public static final String COL_TEMP = "temp";
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 温度
     */
    @TableField(value = "tmpe")
    private String tmpe;

    /**
     * 湿度
     */
    @TableField(value = "humi")
    private String humi;

    public static final String COL_ID = "id";

    public static final String COL_TMPE = "tmpe";

    public static final String COL_HUMI = "humi";
}